package com.ushine.web.base.model.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.io.Serializable;

/**
 * @Author: yls
 * @Date: 2022/03/01 09:06
 * @Description: 数据权限的基础父类
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "数据权限基础字段")
@MappedSuperclass
@Data
public class BasePermissionBO extends BaseBO implements Serializable {


    /**
     * 所属组织id
     */
    @ApiModelProperty("所属组织id")
    @Column(name = "org_id", columnDefinition = "bigint comment '所属组织id'")
    private Long orgId;


}
